import {defineStore} from 'pinia';

export const useUsersetting = defineStore('userSetting', {
    state:() => {
        return {
            head_visible: true
        }
    },
    actions: {
        switch_head_visible(): void {
            this.head_visible= !this.head_visible
        }
    },
    getters:{
        get_head_visible():any{
            return this.head_visible
        }
    }
})
